package com.baomidou.springwind.controller;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.framework.controller.SuperController;
import com.baomidou.kisso.SSOConfig;
import com.baomidou.kisso.SSOHelper;
import com.baomidou.kisso.SSOToken;
import com.baomidou.kisso.annotation.Action;
import com.baomidou.kisso.annotation.Login;
import com.baomidou.kisso.annotation.Permission;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.springwind.common.HoorayosHelper;
import com.baomidou.springwind.common.HttpHelper;
import com.baomidou.springwind.common.SHA1Helper;
import com.baomidou.springwind.entity.Member;
import com.baomidou.springwind.service.IMemberService;

/**
 * <p>
 * 自定义挂件相关
 * </p>
 * 
 * @author Koumiba
 * @Date 2017-03-27
 */
@Controller
@RequestMapping("/extapp")
public class ExtappController extends SuperController {
	
	
	/**
	 * 时钟
	 * @return String
	 * koumiba
	 * 2017年3月30日
	 */
	@Login(action = Action.Skip)
	@Permission(action = Action.Skip)
	@RequestMapping("/clock/index")
	public String clock(Model model){
		
		return "/extapp/clock/index";
	}
	/**
	 * 天气预报
	 * @param model
	 * @return String
	 * koumiba
	 * 2017年4月17日
	 */
	@Login(action = Action.Skip)
	@Permission(action = Action.Skip)
	@RequestMapping("/weather/index")
	public String weather(Model model){
		
		return "/extapp/weather/index";
	}
	
	/*************************
	 *    私有方法 
	 *************************/
		

}
